package com.cy.dda.model.ao.rule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 管理员添加
 *
 * @author: tanyilin
 * @create: 2018年11月9日 上午11:33:09
 */
@Data
@ApiModel("管理员添加")
public class ManagerAddAO {

    @ApiModelProperty(value = "真实姓名", required = true)
    @NotEmpty(message = "真实姓名不可为空")
    private String realName;

    @ApiModelProperty(value = "电话号码", required = true)
    @NotEmpty(message = "电话号码不可为空")
    private String mobile;

    @ApiModelProperty(value = "角色ID", example = "1", required = true)
    @NotNull(message = "角色不可为空")
    private Long roleId;
    
    @ApiModelProperty(value = "备注")
    private String remark;
}
